package io.github.mayubao.kotlintest

import org.junit.Assert
import org.junit.Assert.assertEquals
import org.junit.Test

class Day1_VisibleTest{

    @Test
    fun testVisible(){
        println("hello Day1_VisibleTest")
    }


    @Test
    fun testVal(){
        val vval = "test"
        println("hello Day1_VisibleTest")
        assertEquals(vval, "test")

        //val keyword means the variable is immutable
    }

    @Test
    fun testVar(){
        var vvar = "test"
        vvar = "test1"

        assertEquals("test1", vvar);

        //var keyword means the variable is mutable
    }
}